home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 11
/
FM Towns Free Software Collection 11.iso
/
t_os
/
tool
/
artemis1
/
usrlib
/
src
/
grpboxl.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-16
|
427b
|
23 lines
/*
grpboxl.c
*/
#include <ryosuke.h>
extern char *EGB_work;
void grp_boxline(int x1, int y1, int xlen, int ylen, int col, int mode)
{
short para[4];
para[0] = x1;
para[1] = y1;
para[2] = x1 + xlen -1;
para[3] = y1 + ylen -1;
EGB_writeMode( EGB_work, mode );
EGB_paintMode( EGB_work, 0x202 );
EGB_color( EGB_work, 0, col );
EGB_rectangle( EGB_work, (char*) para );
}
/* end of grpboxl.c */